package DBLayer;

import ModelLayer.*;
import java.util.Date;
import java.util.ArrayList;

public interface IfDbInvoice
{
    public ArrayList<Invoice> getAllInvoices(boolean retriveAssociation);

    public Invoice findInvoicesByPaymentDate(Date paymentDate, boolean retriveAssociation);

    public int insertInvoice(Invoice invoice) throws Exception;

    public int updateInvoice(Invoice invoice);
    
    public int deleteInvoice(Date paymentDate);
}
